home *** CD-ROM | disk | FTP | other *** search
/ Internet.Works 41 / Issue 41.iso / pc / PCSoftware / MDaemon Server / mdsetupa.exe / SERVICE.FAQ < prev    next >
Encoding:
Text File  |  2000-10-05  |  8.5 KB  |  186 lines

  1. ----------------------------------------------------------------------------
  2.                   MDaemon Server v2.7 Service Support FAQ
  3. ----------------------------------------------------------------------------
  4.  
  5. FAQ version 3.4
  6. Maintained by Alt-N Technologies (docs@altn.com)
  7.  
  8. (3.3) Q: How do I install MDaemon as a system service?
  9.  
  10.       A: The easiest method is to do so during installation.  MDaemon's
  11.          installation routine will detect the OS version you are running,
  12.          install the appropriate service name-space, and configure MDaemon
  13.          itself to operate as a system service.  This is available for
  14.          both Windows NT and Windows 95 beginning with MDaemon v2.7.
  15.  
  16.          If you bypassed creating the MDaemon service during the installation
  17.          process you may still do so using the following method:  First,
  18.          install the service support name-space.  This is done using the
  19.          "System Service Settings" menu option off the Setup menu. This
  20.          screen differs depending on the OS version you are running.
  21.          Under Windows 95 you get to give the service a name and switch
  22.          MDaemon to run as a service.  Under Windows NT you can do alot
  23.          more.  Before you can install the name-space you must decide on a
  24.          name for the MDaemon service and enter that name into the "Service
  25.          Name" control.  For most installations the default name "MDaemon"
  26.          will be sufficient.  Remember that "/" and "\" characters are not
  27.          allowed.
  28.  
  29.          WINDOWS NT:
  30.          -----------
  31.          Next select whether you want the service to start automatically
  32.          when the system boots or manually via the "Services" applet in
  33.          the control panel or initially disabled.
  34.  
  35.          Once you have set these parameters press the "Install Service"
  36.          button.  If successful you will have installed the required service
  37.          name-space into the NT service control manager.  At this point you
  38.          will be able to see the service in the "Services" applet.
  39.  
  40.          Finally, make sure the "Run MDaemon as an NT System Service" is
  41.          set.  This switch governs whether MDaemon should respond to
  42.          commands from the Service Control Manager.
  43.  
  44.          WINDOWS 95:
  45.          -----------
  46.          Enter the service name into the control and click the "Run MDaemon
  47.          as a Windows 95 System Service" switch.  When you click the OK
  48.          button MDaemon will install the service into the registry under the
  49.          given name.
  50.  
  51.          You will need to restart the computer before MDaemon will fully
  52.          function as a system service.
  53.  
  54. (3.4) Q: How do I remove MDaemon from the Windows NT Service Control Manager?
  55.  
  56.       A: Use the "Remove Service" button found in MDaemon's "System Service
  57.          Settings" screen.  The service name listed on this screen will be
  58.          the one removed from the Service Control Manager (NT) or from the
  59.          RunServices key in the registry (Win 9x).
  60.  
  61. (3.3) Q: I run MDaemon as a service yet when I click on the MDaemon icon the
  62.          program will not start under Windows NT.
  63.  
  64.       A: When MDaemon is configured to run as a service under Windows NT you
  65.          must start and stop it using the "Services" applet from the Control
  66.          Panel.
  67.  
  68. (3.4) Q: I no longer run MDaemon as a service yet when I click on the ICON
  69.          MDaemon doesn't start.  What gives?
  70.  
  71.       A: You need to manually edit the MDAEMON.INI file and change the
  72.          following entry (make sure it say this):
  73.  
  74.          [Service]
  75.          RunAsService=No
  76.  
  77. (3.3) Q: I tried to install MDaemon as a service under Windows NT but got an
  78.          error message.  What did I do wrong?
  79.  
  80.       A: Most likely you either already have a service installed using the
  81.          name you have entered into the "Service Name" field or you have
  82.          used illegal characters ("/", "\") in the name you are trying to
  83.          use.  Also, try to install the service entry twice.  Sometimes the
  84.          first attempt fails inexlicably.
  85.  
  86. (3.3) Q: I use Windows 95.  Can I do this fancy service stuff?
  87.  
  88.       A: Yes.  Beginning with MDaemon v2.7 full Windows 95 system service
  89.          support is available.
  90.  
  91. (3.4) Q: My MDaemon is configured to start as a service.  So how do I
  92.          start the service?
  93.  
  94.       A: WINDOWS NT:
  95.          -----------
  96.          The control panel's "Services" applet has a button called START.
  97.          Select the name you've assigned to the MDaemon service and click
  98.          the START button.
  99.  
  100.          Also, from the command prompt you can use the NET START command.
  101.  
  102.          Alternatively, if you have the service configured to start automa-
  103.          tically you can reboot the machine to start it.
  104.  
  105.          WINDOWS 95:
  106.          -----------
  107.          The service will start when the machine is rebooted or you can
  108.          click the MDaemon icon to start the service.
  109.  
  110. (3.4) Q: Once the MDaemon service is running how do I stop it?
  111.  
  112.       A:  WINDOWS NT:
  113.           -----------
  114.           The control panel's "Services" applet has a button called STOP.
  115.           Select the name you've assigned to the MDaemon service and click
  116.           the STOP button.
  117.  
  118.           Also, from the command prompt you can use the NET STOP command.
  119.  
  120.           WINDOWS 95:
  121.           -----------
  122.           Select FILE | TERMINATE APPLICATION/SERVICE.
  123.  
  124. (3.4) Q: What happens if my MDaemon service is running and I just stop it
  125.          using the interface?
  126.  
  127.       A: WINDOWS NT:
  128.          -----------
  129.          The FILE | TERMINATE APPLICATION/SERVICE command is designed to
  130.          stop the service without using the Service Control Manager.  No
  131.          harm is done but you should refrain from this method of stopping
  132.          the MDaemon service since the Service Control Manager may not be
  133.          updated promptly regarding MDaemon's new status.
  134.  
  135.          WINDOWS 95:
  136.          -----------
  137.          There is no Service Control Manager in Windows 95 so the FILE |
  138.          TERMINATE APPLICATION/SERVICE command is the only way to terminate
  139.          the service.
  140.  
  141. (3.3) Q: My MDaemon service starts automatically and everything seems
  142.          to work fine but sometimes when I logon there is no MDaemon icon
  143.          in the system tray.
  144.  
  145.       A: Double click the program manager icon for MDaemon.  Or, create a
  146.          file called REBOOTMD.SEM and place it in MDaemon's APP directory.         
  147.  
  148. (3.3) Q: I run many virtual domains using multiple instances of MDaemon.
  149.          How can I get service support in my situation?
  150.  
  151.       A: I'm assuming you have MDaemon running as an application successfully
  152.          under virtual domain conditions.  All you have to do is go into each
  153.          instance's "System Service Settings" and provide a unique service
  154.          name to each instance.  I'd recommend using the domain name as part
  155.          of the service name so you can easily tell which domain you are
  156.          configuring from the "Services" control panel applet under NT.
  157.  
  158. (3.1) Q: When I run MDaemon as a service it won't move mail into my user's
  159.          mailboxes and/or it parses the same set of messages endlessly!
  160.  
  161.       A: This is likely due to a permissions problem.  Make certain that the
  162.          logon you are using (LocalSystem or whatever) has read and write
  163.          access to all the directories for your users and to the directories
  164.          where it's own files are kept (ie.. the \mdaemon\* hierarchy).
  165.  
  166. (3.4) Q: Sometimes the MDaemon service just seems to stop under Windows NT
  167.          for no apparent reason.
  168.  
  169.       A: Increase the size of your paging file or add more physical memory
  170.          to your computer.  Your computer is running out of resources while
  171.          MDaemon is attempting to process mail.  NT will automatically remove
  172.          services from memory if they require too many resources.  You can
  173.          also reduce the number of SMTP threads that MDaemon is using to help
  174.          with this problem (Setup->Primary Domain->Threading).
  175.  
  176.          This can also be caused by an error in the program itself.  If an
  177.          exception occurs such as an access violation NT will shut down the
  178.          service immediately.  Please promptly report any such error you
  179.          encounter to support@mdaemon.com.
  180.  
  181. ----------------------------------------------------------------------------
  182. Questions, additions, corrections to docs@altn.com.   Please reference
  183. that your message is regarding the Service FAQ.
  184. ----------------------------------------------------------------------------
  185.  
  186.